package com.hmdp.service;

import com.hmdp.dto.Result;
import com.hmdp.entity.Follow;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 虎哥
 * @since 2021-12-22
 */
public interface IFollowService extends IService<Follow> {
    /*判断当前用户是否关注博主*/
    Result checkFollow(Long id);

    /*关注和取关业务功能*/
    Result followOrNot(Long id,boolean isFollow);

    /*共同关注功能*/
    Result commonFollow(Long id);
}
